from rest_framework import serializers
from .models import Videos


class VideosSerializer(serializers.ModelSerializer):
    class Meta:
        model = Videos
        fields = '__all__'


class VideosDetailSerializer(serializers.ModelSerializer):
    class Meta:
        model = Videos
        fields = '__all__'
        depth = 2
